* {
    margin: 0;
    padding: 0;
}
body {
    height: 100vh;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
}
section {
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    &:hover {
        .item {
            filter: blur(10px);
            transform: scale(0.8);
            transition: filter 0.5s, transform 0.5s;
        }
    }
    .item {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        .a {
            color: #fff;
            font-style: italic;
            font-weight: bold;
            font-size: 10vw;
            top: 0;
            opacity: 1;
            transition: top 0.5s, opacity 0.5s;
            &:nth-child(1) {
                position: absolute;
                clip-path: polygon(0% 0%, 100% 0%, 100% 51%, 0% 51%);
            }
            &:nth-child(2) {
                position: relative;
                clip-path: polygon(0% 50%, 100% 50%, 100% 100%, 0% 100%);
            }
        }
        a {
            position: absolute;
            color: #fff;
            text-decoration: none;
            opacity: 0;
            transition: opacity 0.5s;
        }

        &:hover {
            filter: blur(0px);
            transform: scale(1);
            transition: filter 0.5s, transform 0.5s;
            .a:nth-child(1) {
                top: -40px;
                opacity: 0.5;
                transform: top 0.5s, opacity 0.5s;
            }
            .a:nth-child(2) {
                top: 40px;
                opacity: 0.5;
                transform: top 0.5s, opacity 0.5s;
            }
            a {
                opacity: 1;
                transition: opacity 0.5s;
            }
        }
    }
}
